package com.rrd.itext.html;


import com.itextpdf.tool.xml.html.DefaultTagProcessorFactory;
import com.itextpdf.tool.xml.html.TagProcessorFactory;
import com.itextpdf.tool.xml.html.Tags;
import com.itextpdf.tool.xml.html.HTML.Tag;

public class ITextServiceTags extends Tags
{
	private static String iTextParaGraph = "com.rrd.itext.html.ITextServiceParaGraph";
	private static String iTextSpan = "com.rrd.itext.html.ITextServiceSpan";
	public static final TagProcessorFactory getTagFactory()
	{
		DefaultTagProcessorFactory factory = (DefaultTagProcessorFactory)Tags.getHtmlTagProcessorFactory();
		factory.addProcessor(Tag.P, iTextParaGraph);
		factory.addProcessor(Tag.SPAN, iTextSpan);
		return factory;
	}
}
